package com.kuang.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/t2")
public class ControllerTest3 {
    @RequestMapping("/t1/t2")
    public String test1(Model model) {
        model.addAttribute("msg", 666);
        return "test";//返回视图的名字
    }
}
